package com.emellend.api.v4;

import com.emellend.api.R;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.View.OnClickListener;

public class FragmentCustomAnimationSupport extends FragmentActivity {
	int mStackLevel = 1;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.fragment_stack);
		this.findViewById(R.id.new_fragment).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				addFragmentToStack();
				
			}
		});
	}
	private void addFragmentToStack() {
		mStackLevel++;
		
	}
}
